<?xml version="1.0" encoding="utf-8"?><!-- -*- mode: nxml; indent-tabs-mode: nil -*- -->
<%@ Page inherits="seanfoy.oopsnet.Oops" language="c#" %>
<%@ Register tagprefix="oops" namespace="seanfoy.oopsnet" assembly="seanfoy.oopsnet.Oops" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
  <head>
    <title>Oops</title>
    <style type="text/css">
      #details {
        color: silver;
        background-color: white;
        font-size: 75%;
      }
      :target {
        border-left: solid medium blue;
        color: black;
        background-color: yellow;
      }
    </style>
  </head>
  <body>
    <h1>Oops</h1>
    <p>Your request cannot be processed because something unexpected has happened. You can help avoid this problem in the future by <a href="#bugform">reporting it</a>. Please include the following technical details in your report:</p>
    <div id="details">
      <dl>
        <dt>request url</dt>
        <dd><%= htmlUrl() %></dd>
        <dt>HTTP referer (sic)</dt>
        <dd><%= htmlReferer() %></dd>
        <dt>application</dt>
        <dd><%= appID() %></dd>
      </dl>
      <div id="stacktrace">
        <%= htmlE() %>
      </div>
    </div>

    <h2>Related bugs</h2>
    <oops:RelatedBugsControl id="rbc" runat="server" xsltUrl="bugtable.xsl" exception='<%# exception %>' requestUrl='<%# Context.Items["seanfoy.oopsnet:requestUrl"] %>' />

    <form id="bugform" method="post" action='<%= HttpUtility.HtmlEncode(ASPNetErrorHandler.AppSettings["seanfoy.oopsnet.bzEnterBugUrl"]) %>'>
      <%= Bugzilla.makeHTML(rbc.makeCNF()) %>
      <input type="hidden" name="comment" value="<%= htmlBugWriteup() %>" />
      <input type="hidden" name="short_desc" value="hi" />
      <input type="submit" value="file a new bug" />
    </form>
  </body>
</html>
